From: Jasper St. Pierre Date: Fri, 8 Feb 2013 23:01:41 +0000 (-0500) Subject: searchDisplay: Remove the providerIcon from the providerMeta X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4095 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=747faa43ae272e3c7c2cb7c0ba210ed43ad2075e;p=gnome-shell.git searchDisplay: Remove the providerIcon from the providerMeta Since the resultsDisplay is tracking it, it's not needed. https://bugzilla.gnome.org/show_bug.cgi?id=693836 --- diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index ebacdec2a..8c7ddca9f 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -401,12 +401,10 @@ const SearchResults = new Lang.Class({ createProviderMeta: function(provider) { let providerBox = new St.BoxLayout({ style_class: 'search-section', vertical: true }); - let providerIcon = null; let resultDisplay = null; if (provider.appInfo) { resultDisplay = new ListSearchResults(provider); - providerIcon = resultDisplay.providerIcon; } else { resultDisplay = new GridSearchResults(provider); } @@ -423,7 +421,6 @@ const SearchResults = new Lang.Class({ this._providerMeta.push({ provider: provider, actor: providerBox, - icon: providerIcon, resultDisplay: resultDisplay }); this._content.add(providerBox); },